import request from '@/utils/request'
// 获取组织架构
export function getorganization() {
  return request({
    url: '/company/department'
  })
}
// 删除
export function del(id) {
  return request({
    url: `/company/department/${id}`,
    method: 'DELETE'
  })
}
// 新增
export function add(data) {
  return request({
    url: '/company/department',
    method: 'POST',
    data
  })
}
